package com.movitech.mobile.cz.base.purchase.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.purchase.entity.WFlowFormSupplierEntry;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtWFlowFormSupplierEntry;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 流程表单-供应商入围 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
public interface WFlowFormSupplierEntryService extends IService<WFlowFormSupplierEntry> {

	public List<ExtWFlowFormSupplierEntry> getFlowFormSupplierEntryList(Map<String, Object> param);
	List<WFlowFormSupplierEntry> getByFormId(String formId);
	List<WFlowFormSupplierEntry> getReplyAgreeByFormId(String formId);
	boolean updateReturnStatusByFormIdAndSupplierId(String formId,String supplierId,int status);
	List<WFlowFormSupplierEntry> getReplyAgreeByFormIdGroupBySupplier(String id);
	List<String> getSupplierIdsWithAgree(String formId);

}
